//
//  ViewController.swift
//  DaiLi
//
//  Created by yuanjiang on 2017/12/12.
//  Copyright © 2017年 yuanjiang. All rights reserved.
//

import UIKit

class ViewController: UIViewController, PassValueDelegate {
    func doSomeThing(param: String, sss: [String], mmm: [String : Any]) {
        print("\(param)-----\(sss)-----\(mmm)")
    }
    
    
//    func doSomeThing() {
//        <#code#>
//    }
    

//    weak var <#name#> = <#value#>
    
    
    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        self.view.backgroundColor = .green
        
    
    }


    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        let vc = SecondVC()
        vc.delegate = self
        self.navigationController?.pushViewController(vc, animated: false)
    }
   
}

